package se.kth.ik2200.carenet_2012;

/**
 * Created with IntelliJ IDEA.
 * User: Ruslan Mukhammadov
 * Date: November 12, 2012
 * Time: 11:23 AM
 * To change this template use File | Settings | File Templates.
 */
public final class Log {

    private Log () {
    }

    public static void printError(String error) {
        System.out.println("\nERROR: " + error + "\n");
    }

    public static void printf(String format, Object... args) {
        System.out.printf(format, args);
    }

    public static void printTitle(String info) {
        System.out.println("\n ======= " + info.toUpperCase() + " =======\n");
    }

    public static void printOrdinaryLog(String log) {
        System.out.println(log);
    }

    public static void printWarning(String warning) {
        System.out.println("\nWARNING: " + warning + "\n");
    }

    public static void printWithoutLine(String info) {
        System.out.print(info);
    }
}
